package net.NingXiaRuiTai.ShortChain.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "sms")// 配置属性从application.yml中获取sms的属性
@Configuration// 配置类
@Data// 数据注解用于生成getter和setter
public class SmsConfig {
    private String templateId;
    private String appCode;
    private String smsSignId;
}
